Part 1: 

Open-Seasme (https://github.com/swabhs/open-sesame) was used to perform full frame-semantic parsing of the sentences and generate the conll files for the input files "FD.txt" and "US.txt" present in the "Datasets" folder.
For the convinience of the reader the conll files generated by open Sesame are included with this package in the folder "Results from Open Sesame". 


Part 2: 

Requirements: Please ensure python 3 is installed on your system with the following packages:

1) nltk
2) pandas
3) textstat
4) matplotlib
5) string
6) statistics
7) scipy

After the requirements have been met, please follow the steps below:

Step 1: After generating the "predicted-args.conll" (for FD) and "predicted-args.conll" (for US), rename these files to "feature_descriptions.txt" to "user_stories.txt" respectively. (Pleas make sure to change the extension from .conll to .txt as well")
Step 2: Please copy the files "feature_descriptions.txt" and "user_stories.txt" generated in step 1 to the main folder "Final Replication Packet".
Step 3: Run "Excel_files_generator.py". Please enter file_name as "feature_descriptions.txt" when prompted by the python program.
Step 4: Step 3 should generate 3 output excel files "Main.xlsx", "Sentences.xlsx" and "Verbs.xlsx". Rename these files to "Main_feat_des.xlsx", "Sentences_feat_des.xlsx" and "Verbs_feat_des.xlsx".
Step 5: Run "Excel_files_generator.py". Please enter file_name as "user_stories.txt" when prompted by the python program.
Step 6: Step 5 should generate 3 output excel files "Main.xlsx", "Sentences.xlsx" and "Verbs.xlsx". Rename these files to "Main_user_stories.xlsx", "Sentences_user_stories.xlsx" and "Verbs_user_stories.xlsx".
Step 7: Run "Analysis.py" to generate the figures and different statistical results for Feature Descriptions and User Stories. 


Extra Notes-
The conll files generated by Open Sesame is not able to identify some particular words. These words are reported as "unk" (unknown). In most of the cases "unk" is usually the word "the". 
You may want to use the "Find and Replace" option in Excel to replace all the instances of "unk" to "the" in Step 4 and Step 6. 